package com.aliyun.oss.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * OSS上传的参数
 *
 * @author PING
 * @date 2024/1/10 21:49
 */
@Data
@Schema(description = "OSS上传参数")
public class OSSPutDTO {

    @Schema(description = "policy")
    private String policy;
    @Schema(description = "签名")
    private String signature;
    @Schema(description = "oss-key-这个是阿里云上传接口要用到的")
    private String key;
    @Schema(description = "accessKeyId")
    private String ossaccessKeyId;
    @Schema(description = "回调信息")
    private String callback;

    @Schema(description = "上传地址")
    private String host;
    @Schema(description = "超时时间")
    private String expire;
    @Schema(description = "fileKey-这个是我们自己系统的")
    private String fileKey;
}
